﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Profile.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="contentPane" runat="server">

    <% List<WebApp.Models.Friends> friends = (List<WebApp.Models.Friends>)ViewData["Model"];

       foreach (WebApp.Models.Friends friendss in friends) 
       { %>

            <div class="friends">
                <ul>
                    <img src="https://graph.facebook.com/<%=friendss.Id %>/picture" alt="<%=friendss.Name %>">
                    <a href="http://www.facebook.com/profile.php?id=<%=friendss.Id %>" target="_blank"><%=friendss.Name %></a>
                </ul>
            </div>

       <%
       } 
    %>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ProfileHead" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="contentLinks" runat="server">
</asp:Content>
